/**
* <p>Title: StationMap.java</p>
* <p>Copyright: Copyright (c) 2016</p>
* <p>Company: lty</p>
*/
package com.lty.bbapp.instance;

import java.util.concurrent.ConcurrentHashMap;
/**
* <p>Title: StationMap</p>
* <p>Description: 进出站数据包direction与设备id缓存Map</p>
* <p>Company: lty</p>
* @author liuhao
* @date 2016年12月12日 上午9:14:17
* version 1.0
*/
public class DevToDirectionMap extends ConcurrentHashMap<String, Integer>{
	/***serialVersionUID***/
	private static final long serialVersionUID = 1L;

	private DevToDirectionMap(){
		
	}
	
	private static DevToDirectionMap devToDirectionMap = null;
	
	public synchronized static DevToDirectionMap getInstance(){
		if(devToDirectionMap == null){
			devToDirectionMap = new DevToDirectionMap();
		}
		
		return devToDirectionMap;
	}

}
